package service;

import bean.dto.OrderDto;
import bean.dto.OrderDto2;
import bean.vo.OrderVo;

import java.util.List;

/**
 * service
 * User: 李雨行
 * Date: 2024/12/18 14:28
 * motto:   沉淀哥
 * Description:
 * Version: V1.0
 */
public interface OrderService {
    List<OrderVo> findByPage(Integer orderId, String userName,String productName, Integer page, Integer limit);

    boolean add(OrderDto orderDto);

    Integer maxPage(Integer orderId, String userName, String productName);

    boolean deleteById(Integer orderId);

    boolean add2(OrderDto2 orderDto2);

    boolean change(Integer orderId);
}
